package com.yhl.springtest.controller;

import com.yhl.springtest.service.CommomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author: yanghl
 * @description: TODO
 * @date: 2024/3/26 16:28
 */
@RequestMapping("/file")
@RestController
public class FileController {

    @Autowired
    private CommomService commomService;

    @GetMapping("/readExcel")
    public Map readExcel() throws Exception {
        return commomService.readExcel();
    }

}

